翻訳と辞書
Words near each other
・ List of 1916 motorsport champions
・ List of 1918 flu pandemic cases
・ List of 1920 motorsport champions
・ List of 1920s jazz standards
・ List of 1921 motorsport champions
・ List of 1922 motorsport champions
・ List of 1923 motorsport champions
・ Lissy Samuel
・ Lissy Schmidt
・ Lissy Trullie
・ Lissycasey
・ Lissègazoun
・ Lissèzoun
・ List
・ List & Label
List (abstract data type)
・ List (surname)
・ List A cricket
・ List and Index Society
・ List auf Sylt
・ List Authorised Racket Coverings
・ List box
・ List broker
・ List builder
・ List Burgenland
・ List College
・ List coloring
・ List comprehension
・ List decoding
・ List edge-coloring


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

List (abstract data type) : ウィキペディア英語版
List (abstract data type)

In computer science, a list or sequence is an abstract data type that represents an ordered sequence of values, where the same value may occur more than once. An instance of a list is a computer representation of the mathematical concept of a finite sequence; the (potentially) infinite analog of a list is a stream. Lists are a basic example of containers, as they contain other values. If the same value occurs multiple times, each occurrence is considered a distinct item.
The name list is also used for several concrete data structures that can be used to implement abstract lists, especially linked lists.
Many programming languages provide support for list data types, and have special syntax and semantics for lists and list operations. A list can often be constructed by writing the items in sequence, separated by commas, semicolons, or spaces, within a pair of delimiters such as parentheses '()', brackets '[]', braces '{}', or angle brackets '<>'. Some languages may allow list types to be indexed or sliced like array types, in which case the data type is more accurately described as an array. In object-oriented programming languages, lists are usually provided as instances of subclasses of a generic "list" class, and traversed via separate iterators. List data types are often implemented using array data structures or linked lists of some sort, but other data structures may be more appropriate for some applications. In some contexts, such as in Lisp programming, the term list may refer specifically to a linked list rather than an array.
In type theory and functional programming, abstract lists are usually defined inductively by two operations: ''nil'' that yields the empty list, and ''cons'', which adds an item at the beginning of a list.
==Operations==
Implementation of the list data structure may provide some of the following operations:
* a constructor for creating an empty list;
* an operation for testing whether or not a list is empty;
* an operation for prepending an entity to a list
* an operation for appending an entity to a list
* an operation for determining the first component (or the "head") of a list
* an operation for referring to the list consisting of all the components of a list except for its first (this is called the "tail" of the list.)

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「List (abstract data type)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.